package com.ady.dogeyes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author luohz
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户账号
     */
    private String userName;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户昵称
     */
    private String userNick;

    /**
     * 用户类型 0:普通用户, 1:VIP, 2:管理用户
     */
    private Integer userType;

    /**
     * 允许
     */
    private Boolean enabled;

    /**
     * 会员邮箱
     */
    private String email;

    /**
     * 注册时间
     */
    private Date createTime;


}
